<?php
error_reporting(0);
include_once "../check.php";
include_once '../../comm/conn.php';
include_once '../../comm/checkpostandget.php';
$link = mysql_connect($dbserver, $dbuser, $dbpass);
if (!$link) {
	die('数据库链接出错: ' . mysql_error());
}
else
{
	mysql_select_db($dbname);
	mysql_query("set names utf8");	
	$sql = "delete from ".$BIAOTOU."dhlist where id='".$_GET["id"]."'";
	mysql_query($sql);
}
mysql_close($link);
echo "<script language=javascript>alert('删除成功！');window.location='jiangp_list.php'</script>";
?>